import 'babel-polyfill'
import Promise from 'es6-promise'
import 'ie-placeholder'
import './assets/js/utils/rem'
import Vue from 'vue'
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import service from './assets/js/utils/axiosConfig.js'
import './permission' // permission control
import './assets/css/index.scss'
Promise.polyfill() // global css
Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.prototype.$http = service
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
